#define _CRT_SECURE_NO_WARNINGS
#include"List.h"
p1() {
	y* tjd = ListInit();
	ListTailPlugging(tjd, 1);
	ListTailPlugging(tjd, 2);
	ListTailPlugging(tjd, 3);
	ListTailPlugging(tjd, 4);
	ListHeader(tjd, 0);
	ListPrintf(tjd);
}
p2() {
	y* tjd = ListInit();
	ListTailPlugging(tjd, 1);
	ListTailPlugging(tjd, 2);
	ListTailPlugging(tjd, 3);
	ListTailPlugging(tjd, 4);
	ListHeader(tjd, 0);
	ListHeaderDeleted(tjd);
	 ListTailDeletion(tjd);
	y* l = ListFind(tjd,3);
	ListInsert(l, 30);
	ListErase(l);
	ListPrintf(tjd);
}
int main() {
	p2();
}